<template>
  <el-dialog
    title="示例"
    :visible.sync="dialogVisible"
    width="600px"
    class="device-parameter-upload-container"
  >
    <el-table :data="tableData">
      <el-table-column
        label="编码"
        prop="name"
      ></el-table-column>
      <el-table-column
        label="中文名称"
        prop="displayName"
      ></el-table-column>
      <el-table-column
        label="计量单位"
        prop="unit"
      ></el-table-column>
      <el-table-column
        label="描述"
        prop="description"
      ></el-table-column>
    </el-table>
  </el-dialog>
</template>

<script>
import { validateForm } from './service';
import { Message } from 'element-ui';
import { parseError } from '../../../utils/index';
import { uploadDeviceParameterApi } from '../../../api/upload';

export default {
  data() {
    return {
      dialogVisible: false,
      tableData: [{ name: 'w01006', displayName: '溶解性总固体', unit: '毫克/升', description: '' }]
    };
  },
  watch: {
    dialogVisible: {
      handler(value) {}
    }
  },
  methods: {
    showDialog() {
      this.dialogVisible = true;
    }
  }
};
</script>

<style lang="scss" scoped>
</style>
